unit oProcessObjectConstants;

{
	created   2.3.2010
	author    Miroslav Rusin
	purpose   defines object constants

	edit list:
                7.3.2010 Michal Varga
                        added constants for pedestrian manager
                9.3.2010 Miroslav Mintal
                        added constants for paths manager
        comment list:
                7.3.2010 Michal Varga
                        each set of constants should begin with some specific number
                        prefix (eg. pedestrian manager 11, tree manager 22...) to
                        be able to add new item into the set without skipping
                        range of used numbers
        to do list:
                7.3.2010 Michal Varga
                        add other constants for pedestrian manager
}

interface
  const
    // general response: Result - TString {true, false}
    PO_TEST = -3;
    PO_SUCCESS = -1;
    PO_FAILURE = -2;
    // inputs: LISTPOINTS - TProcessingpointslist
    // input : type id - TInteger
    PO_SCENE_INSERT_PHYSICAL_ENTITY = 0;
    // inputs: id - Tinteger
    PO_SCENE_DELETE_PHYSICAL_ENTITY = 1;
    // inputs: id of old physical entity - Tinteger
    // NewPE - Tphysical entity; OldPE will be deleted and NewPE inserted
    PO_SCENE_MOVE_PHYSICAL_ENTITY = 2;
    // inputs: id - Phys.entity ID - Tinteger,  log type - Integer from
    // oEntityTypeConstants
    PO_SCENE_INSERT_LOGICAL_ENTITY_TO_PHYS_ENTITY  = 3;
    // inputs: id - Tinteger
    PO_SCENE_DELETE_LOGICAL_ENTITY  = 4;
    // inputs: id of physical entity - Tinteger; LE - TLogicalEntity - not ready
    PO_SCENE_UPDATE_LOGICAL_ENTITY  = 5;
    // inputs: Pedestrian - TPedestrian
    PO_SCENE_GET_PHYSICAL_ENTITIES_FOR_PEDESTRIAN  = 6;
    // inputs: Layer - index of the level - integer; Pedestrian - TPedestrian
    // response: List - TList of TPhysicalEntities
    PO_SCENE_GET_LOGICAL_ENTITIES_FOR_PEDESTRIAN = 7;
    // inputs: Layer - index of the level - integer; Pedestrian - TPedestrian
    // response: List - TList of TLogicalEntities
    PO_SCENE_GET_PEDESTRIANS_FOR_PED_PEDESTRIAN  = 8;
    // inputs: Layer - index of the level - integer; Pedestrian - TPedestrian
    // response: List - TList of TPedestrian
    PO_SCENE_INSERT_PEDESTRIAN  = 9;
    // inputs: Layer - index of the level - integer; Pedestrian - TPedestrian;
    // From - TCoordinates; To - TCoordinates
    PO_SCENE_MOVE_PEDESTRIAN  = 10;
    // inputs: Layer - index of the level - integer; Pedestrian - TPedestrian
    PO_SCENE_DELETE_PEDESTRIAN  = 11;

    // input : none
    // returns : TprocessingLEvel
    PO_SCENE_GET_LEVEL = 12;
    PO_SCENE_GET_PHYSICAL_ENTITY = 21;
    // inputs: TCoordinates - position where clicked
    // returns : TLogicalEntity
    PO_SCENE_GET_LOGICAL_ENTITY = 28;

//    PO_TRANSLATE_COMPONENT = 12;

    // input : phys_layer name - TString
    // input : height - TReal
    // input : width - Treal
    // returns true if inserted
    PO_PROJECT_INSERT_PHYS_LAYER = 13;
    // input : phys_layer name - TString
    // returns true if deleted
    PO_PROJECT_DELETE_PHYS_LAYER = 14;
    // input : Tstring name
    // returns success
    PO_PROJECT_DELETE_PEDESTRIANS = 16;
    // input : Tstring name
    // returns success
    PO_PROJECT_INSERT_PEDESTRIANS = 18;
    // input : log_layer name - TString
    // returns true if inserted
    PO_PROJECT_INSERT_LOG_LAYER = 17;
    // input : log_layer name - TString
    // returns true if deleted
    PO_PROJECT_DELETE_LOG_LAYER = 19;
    // input : TProcessingPoints : points of phys. entity
    // input : Tinteger : type of phys. entity
    // input : Tinteger id of log.entity
    PO_SCENE_MOVE_LOGICAL_ENTITY = 22;

    // input: name - Tstring - project name
    // return true if deleted
    PO_PROJECT_DELETE = 15;

    // input : name - Tstring - project name
    // path - Tstring - project dir
    PO_PROJECT_SAVE_SCENE = 20;

    // input : project descriptor path - Tstring
    PO_PROJECT_LOAD = 24;
    // input : project descriptor path - Tstring
    PO_PROJECT_SAVE = 26;
    // input : project path - Tstring
    PO_PROJECT_SAVE_WITH_PATH = 29;
    // input : project name - Tstring
    PO_PROJECT_INSERT = 30;

    // input : config name - Tstring
    PO_PROJECT_CONFIG_INSERT = 31;
    // input : config name - Tstring
    PO_PROJECT_CONFIG_DELETE = 32;

    // input : project name - Tstring
    // returns : Tinteger - 1 if has a path to be saved there, 0 if not
    PO_PROJECT_HAS_PATH = 34;
    // input : paType : Tinteger;
    // input : points of polygon - Tlist
    // returns success if added
    PO_SCENE_INSERT_LOGICAL_ENTITY = 35;
    // input : none
    // returns project name - Tstring
    PO_PROJECT_GET_NAME = 36;

    // input none
    /// returns TProcesssingMAp
    PO_PROJECT_GET_LAYERS = 37;
    // input : loglayer name = Tstring
    // inpiut : physlayername = Tstring
    // returns nil
    PO_PROJECT_INSERT_LAYER_MAPPING = 38;
    // input : log layer name - Tstring
    // returns : phys layer - Tstring
    PO_PROJECT_GET_LAYER_MAPPING = 39;
    // input : Tstring - oldname
    // input : Tstring - newname
    // returns : nil
    PO_PROJECT_UPDATE_PHYS_LAYER = 40;
    // input : Tstring - oldname
    // input : Tstring - newname
    // returns : nil
    PO_PROJECT_UPDATE_LOG_LAYER = 41;
    // input : Tstring - path
    // input : TInteger - type layer
    // input : Tstring - newname
    PO_SCENE_UPDATE_LAYER = 42;
    // input : Tstring - oldname
    // input : Tstring - name
    PO_PROJECT_UPDATE_PEDESTRIAN = 43;
    // input : Tstring - oldname
    // input : Tstring - name
    PO_PROJECT_UPDATE_PATH = 44;
    // input : Tstring - name
    PO_PROJECT_LOAD_ARRIVAL = 45;
    // input : Tstring arrival group name
    // returns : Tprocessingstrings - list of names
    PO_PROJECT_ARRIVALS_NAME  = 46;
    // input : Tstring - name
    PO_PROJECT_INSERT_ARRIVALS_GROUP = 47;
    // input : Tstring - name
    PO_PROJECT_DELETE_ARRIVALS_GROUP = 48;
    // input none
    PO_PROJECT_UNLOAD_ARRIVALS_GROUP = 49;
    // input TString - name
    PO_PROJECT_GET_ARRIVAL_XML = 50;
    // input none
    PO_PROJECT_CLOSE_XML = 51;
    // input :  Tinteger - layer type
    // input : path Tstring
    PO_SCENE_SAVE_ACTUAL_LAYER = 52;

    // inputs: Tinteger - id
    // returns : TLogicalEntity
    PO_SCENE_GET_LOGICAL_ENTITY_BY_ID = 53;

    // input nil
    // retursn TInteger - pedgroup id to assign
    PO_PROJECT_GET_PEDESTRIAN_GROUP_ID = 54;

    { TREE MANAGER }

    // input : phys_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_PHYS_LAYER = 600;
    // input : phys_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_PHYS_LAYER_FAST = 601;
    // input : log_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_LOG_LAYER = 602;
    // input : log_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_LOG_LAYER_FAST = 603;
    // input : paths_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_PATHS_LAYER = 604;
    // input : paths_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_PATHS_LAYER_FAST = 605;
    // input : pedest_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_PEDEST_LAYER = 606;
    // input : pedes_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_PEDEST_LAYER_FAST = 607;
    // input : arrivals_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_ARRIVALS_LAYER = 608;
    // input : arrivals_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_ARRIVALS_LAYER_FAST = 609;
    // input : arrivals_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_RUNPROP_LAYER = 610;
    // input : arrivals_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_RUNPROP_LAYER_FAST = 611;
    // input : arrivals_layer name - TString
    // returns succes if inserted else failture
    PO_TREE_INSERT_CONFIG_LAYER = 612;
    // input : arrivals_layer name - TString {without duplicity control}
    // returns nil
    PO_TREE_INSERT_CONFIG_LAYER_FAST = 613;
    // input : nil
    // returns nil
    PO_TREE_LEFT_CLICK = 614;
    // input : nil
    // returns nil
    PO_TREE_LEFT_DOUBLE_CLICK = 645;
    // input : nil
    // returns succes if menu will show else failture
    PO_TREE_RIGHT_CLICK = 615;
    // input : nil
    // returns nil
    PO_TREE_MENU_DEL_CLICK = 616;
    // input : nil
    // returns nil
    PO_TREE_MENU_INSERT_CLICK = 644;
    // input : tree component - TTreeView
    // returns nil
    PO_TREE_SET_COMPONENT = 617;
    // input project name - String
    // returns nil
    PO_TREE_SHOW_PROJECT = 618;
    // input : nil
    // returns nil
    PO_TREE_CLEAR = 619;
    // input : nil
    // returns succes if can be else failture
    PO_TREE_CAN_BE_CREATED_NEW_LL = 620;
    // input : nil
    // returns succes if can be else failture
    PO_TREE_CAN_BE_CREATED_NEW_PATH = 621;
    // input : nil
    // returns nil
    PO_TREE_REMOVE_SELECTED_LAYER = 646;
    // input : phys_layer name - TString
    // returns nil
    PO_TREE_REMOVE_PHYS_LAYER = 630;
    // input : log_layer name - TString
    // returns nil
    PO_TREE_REMOVE_LOG_LAYER = 631;
    // input : paths_layer name - TString
    // returns nil
    PO_TREE_REMOVE_PATHS_LAYER = 632;
    // input : pedest_layer name - TString
    // returns nil
    PO_TREE_REMOVE_PEDEST_LAYER = 633;
    // input : arrivals_layer name - TString
    // returns nil
    PO_TREE_REMOVE_ARRIVALS_LAYER = 634;
    // input : arrivals_layer name - TString
    // returns nil
    PO_TREE_REMOVE_RUNPROP_LAYER = 635;
    // input : arrivals_layer name - TString
    // returns nil
    PO_TREE_REMOVE_CONFIG_LAYER = 636;
    // input : TConfignData
    // returns : nil
    PO_TREE_SET_CHECKED = 637;
    // input : nil
    // returns : TConfignData
    PO_TREE_GET_CHECKED = 638;
    // input : nil
    // returns : nil
    PO_TREE_REFRESH_PATHS_SUBLAYER = 639;
    // input : nil
    // returns : nil
    PO_TREE_REFRESH_PEDEST_SUBLAYER = 640;
    // input : nil
    // returns : nil
    PO_TREE_REFRESH_ARRIVALS_SUBLAYER = 641;
    // input : nil
    // returns succes if can be else failture
    PO_TREE_CAN_BE_CREATED_NEW_SUBPATH = 642;
    // input : nil
    // returns succes if can be else failture
    PO_TREE_CAN_BE_CREATED_NEW_SUBPED = 643;
    // input : nil
    // returns succes if can be else failture
    PO_TREE_CAN_BE_CREATED_NEW_SUBARRIVAL = 647;


    { NEJAKY MAYROV MANAGER }

            //  input : xml to save - TProcessingXML
    // returns : xml to save - TProcessingXML
    PO_SAVEMAN_PREPARE_SAVE = 55;
    //  input : xml to save - TProcessingXML
    // returns : xml to save - TProcessingXML
    PO_SCENE_SAVE = 57;
    // input : project data dir - TString
    PO_SCENE_LOAD = 58;
    // input : layer name : TString
    PO_SCENE_DELETE_LAYER = 61;
    // input : layer name : TString
    PO_SCENE_INSERT_LAYER = 62;
    // input : layer name : TString
    // returns : Tlevel
    PO_SCENE_GET_ACTUAL_LEVEL = 63;
    // input : data type : TTinteger from oDataTypeeConstants.pas
    // input : data name : tstring
    // input : xml  : Tprocessingxml
    PO_SAVEMAN_SAVE_DATA = 64;
    // input : data type : TTinteger from oDataTypeeConstants.pas
    // input : data name : tstring
    // returns : TProcessingXML
    PO_LOADMAN_LOAD_DATA = 65;
    // input : entity id : TTinteger
    // returns : TEntityProcessing
    PO_SCENE_GET_ENTITY_BY_ID = 66;
    // input : none
    // returns : nothing
    PO_PROJECT_SAVE_PEDESTRIANS = 67;
    // input : none
    // returns : TProcessingXML
    PO_PROJECT_LOAD_PEDESTRIANS = 68;
    // input : none
    // returns : nothing
    PO_PROJECT_LOAD_SCENE = 69;
    // input : none
    // returns : nothing
    PO_PROJECT_SAVE_PATHS = 70;
    // input : none
    // returns : TProcessingXML
    PO_PROJECT_LOAD_PATHS = 71;
    // input : name - Tstring
    PO_PROJECT_INSERT_PATHS = 72;
    // input : name - Tstring
    PO_PROJECT_DELETE_PATHS = 73;
    // input : name - Tstring
    PO_PROJECT_INSERT_ARRIVAL = 74;
    // input : name - Tstring
    PO_PROJECT_DELETE_ARRIVAL = 75;

    PO_PROJECT_SAVE_ARRIVALS = 76;
    // input : name - Tstring
    PO_PROJECT_LOAD_ARRIVALS_GROUP = 77;
    // input : layer name - Tstring
    // returns : Tprocessinglevel - layer
    PO_SCENE_SET_ID = 78;
    // input : value - TTinteger
    PO_SCENE_GET_ID = 79;
    // input : name : Tstring
    // input : shape type : TInteger from oEntityTypeConstants;
    // inout : points list - from editor
    // return : nil
    PO_SCENE_INSERT_WAYPOINT = 80;
    // input : id : TTinteger;
    PO_SCENE_DELETE_WAYPOINT = 81;
    // input : id : TTinteger;
    PO_SCENE_GET_WAYPOINT = 82;
    // input : name - TString;
    // input : type - Tinteger;
    // returns : TProcessinglevel
    PO_SCENE_LOAD_PHYS_LAYER = 83;
    // returns list of pedestians - tproessing pdestinstlsts
    PO_SCENE_GET_ALL_PEDESTRIANS = 84;
    // input : none
    // returns nil
    PO_SAVE_GENERATORS = 85;
    // input : none
    // returns nil
    PO_LOAD_GENERATORS = 86;
    // INPUT : Tstring - name
    PO_PROJECT_SAVE_LAYER = 87;
    // input : Tstring name
    // Tinteger layer type
    // returns Tstring
    PO_PROJECT_GET_LAYER_PATH = 89;
    // input : Tstring name
    // Tinteger layer type
    // Tstring path
    PO_SCENE_SAVE_LAYER = 90;
    // input : project path - Tstring
    // returns nil
    PO_SCENE_SET_PATH = 91;
    // input : none
    // returns TStringlist names
    PO_PROJECT_GET_PATH_NAMES = 92;
    // input : none
    // returns TStringlist names
    PO_PROJECT_GET_PEDESTRIAN_NAMES = 93;
    // input : Tstring name
    // returns TProcessingLevel
    PO_SCENE_LOAD_LOG_LAYER = 94;
    // input : none
    // returns nil
    PO_SCENE_UNLOAD_PHYS_LAYER = 95;
    // input : none
    // returns nil
    PO_SCENE_UNLOAD_LOG_LAYER = 96;
    // input : Tstring - name
    // returns none
    PO_PROJECT_SAVE_LOG_LAYER = 97;
    // input : Tstring - name
    // returns none
    PO_PROJECT_SAVE_PHYS_LAYER = 98;
    // input : none
    // returns none
    PO_PROJECT_SAVE_CONFIGS = 99;
    // input : none
    // returns none
    PO_PROJECT_SAVE_RUN_PROPS = 100;
    // input : none
    // returns none
    PO_PROJECT_LOAD_CONFIGS = 101;
    // input : none
    // returns none
    PO_PROJECT_LOAD_RUN_PROPS = 102;


    { PEDETRIAN EDITOR MANAGER}


    // input nothing
    // returns success, nil
    PO_EDITOR_PED_INSERT = 300;  // displays editor frame
    // input TString
    // returns success, nil
    PO_EDITOR_PED_EDIT = 301;   // displays editor frame with input data






    { PEDESTRIAN MANAGER }

    //input TPedestrian
    //returns nil
    PO_PEDMAN_INSERT = 1101;
    //input Pedestrian name - String
    //returns nil
    PO_PEDMAN_REMOVE = 1102;
    //input TPedestrian
    //returns nil
    PO_PEDMAN_EDIT = 1103;
    //input IXMLNode
    //returns nil
    PO_PEDMAN_SAVE = 1104;
    //input IXMLNode
    //returns nil
    PO_PEDMAN_LOAD = 1105;
    //input string
    //returns pedestrian
    PO_PEDMAN_GET_PEDSTRIAN = 1106;
    // input none
    // returns Tprocessingstrings
    PO_PEDMAN_GET_NAMES = 1107;
    //input TString
    //returns true/false
    PO_PEDMAN_EXISTS = 1108;
    //input nil
    //returns nil
    PO_PEDMAN_UNLOAD = 1109;

    { PATHS MANAGER }

    // input : path name - TString
    // returns : succes if inserted else failture
    PO_PATHS_INSERT_PATH = 2200;
    // input : path name - TString
    // returns : succes if deleted else failture
    PO_PATHS_REMOVE_PATH = 2201;
    // input : path name - TString
    // input : new entity - TEntityProcessing
    // input : next entity  - TEntityProcessing, if nil then new entity add on end
    // returns : succes if inserted else failture
    PO_PATHS_INSERT_WAYPOINT = 2202;
    // input : path name - TString
    // input : del entity - TEntityProcessing
    // returns : succes if inserted else failture
    PO_PATHS_REMOVE_WAYPOINT = 2203;
    //input IXMLNode
    //returns success
    PO_PATHS_SAVE = 2204;
    //input IXMLNode
    //returns success
    PO_PATHS_LOAD = 2205;
    //input nil
    //returns nil
    PO_EDITOR_PATHS_CANCEL = 2206;
    //input String
    //returns path
    PO_PATHS_GET_PATH = 2207;
    //input String
    //returns path
    PO_PATHS_GET_PATH_NAMES = 2208;
    //input nil
    //returns nil
    PO_PATHS_UNLOAD = 2209;

    { ARRIVALS EDITOR MANAGER}

    // input nothing
    // returns success, nil
    PO_EDITOR_ARRIVAL_INSERT = 400;  // displays editor frame
    // input TString
    // returns success, nil
    PO_EDITOR_ARRIVAL_EDIT = 401;   // displays editor frame with input data
    // input nothing
    // result success, nil
    PO_EDITOR_ARRIVAL_GET = 402;
    // input : none
    PO_EDITOR_FL_CANCEL = 403;

    { ARRIVALS MANAGER }

    //input arrival data
    //returns nil
    PO_ARRMAN_INSERT = 55501;
    //input arrival data
    //returns nil
    PO_ARRMAN_EDIT = 55502;
    //input nil
    //returns nil
    PO_ARRMAN_UNLOAD = 55503;
    //input string
    //returns nil
    PO_ARRMAN_UNLOAD_ARRIVAL = 55504;
    //input xmlnode
    //returns nil
    PO_ARRMAN_LOAD = 55505;
    //input string
    //returns nil
    PO_ARRMAN_SAVE = 55506;
    //input tconfigndata
    //returns nil
    PO_ARRMAN_ACTIVATE = 55507;
    //input string
    //returns arrival
    PO_ARRMAN_EXISTS = 55508;
    // input none
    // retursn stringlist
    PO_ARRMAN_GET_NAMES = 55509;

    //input generator + item
    //result nil
    SAVE_GENERATOR = 9991;
    //input node
    //result generator
    LOAD_GENERATOR = 9992;

    { EDITOR MANAGER }

    // input : value  TInteger
    PO_EDITOR_FL_SET_ID = 4401;
    // INPUT : LIST of pedestrians - tprocessingpedestrians list
    PO_EDITOR_GET_PEDESTRIANS = 4402;
    // input Tprocessinglevel
    // return nil
    PO_EDITOR_FL_SET_LEVEL = 4403;

    { CONVERSIONS MANAGER }

    //input TGeneratorData
    //output TGenerator
    CONVERT_DATA_TO_GENERATOR = 100001;


    { CONFIG MANAGER }

    //input TConfigData
    //returns nil
    PO_CONFIG_INSERT = 5501;
    //input nil
    //returns TConfigData
    PO_CONFIG_GET_CONFIG = 5502;
    //input IXMLNode
    //returns nil
    PO_CONFIG_SAVE = 5503;
    //input IXMLNode
    //returns nil
    PO_CONFIG_LOAD = 5504;
    // input none
    // returns Tstringlist
    PO_CONFIG_GET_NAMES = 5505;
    // input name -Tstring
    // returns nil
    PO_CONFIG_REMOVE = 5506;
    // input nil
    // returns nil
    PO_CONFIG_UNLOAD = 5507;

    { EDITOR FL MANAGER }

    // input nil
    // returns nil
    PO_EDITOR_FL_NEW_FRM = 6000;
    // input : layer name - TString
    // returns nil
    PO_EDITOR_FL_LOAD_FRM = 6001;
    // input : nil
    // returns nil
    PO_EDITOR_FL_SAVE = 6100;
    // input nil
    // returns nil
    PO_EDITOR_FL_CHANGE_LEVEL_SIZE = 6002;
    { EDITOR LL MANAGER }

    // input nil
    // returns nil
    PO_EDITOR_LL_NEW_FRM = 7000;
    // input : layer name - TString
    // returns nil
    PO_EDITOR_LL_LOAD_FRM = 7001;
    // input : nil
    // returns nil
    PO_EDITOR_LL_SAVE = 7100;
    // input Tinteger
    // returns nil
    PO_EDITOR_LL_SET_ID = 7101;
    // input Tprocessinglevel
    // returns nil
    PO_EDITOR_LL_SET_LEVEL = 7102;
    // input none
    // returns nil
    PO_EDITOR_LL_CANCEL = 7103;
    // input none
    PO_EDITOR_LL_CLOSE = 7104;

    { EDITOR PATHS MANAGER }

    // input nil
    // returns nil
    PO_EDITOR_PATHS_NEW_FRM = 8000;
    // input : layer name - TString
    // returns nil
    PO_EDITOR_PATHS_LOAD_FRM = 8001;
    // input : nil
    // returns nil
    PO_EDITOR_PATHS_SAVE = 8100;

    {EDITOR GENERATOR MANAGER}
    //MISO: WHO THE HELL DID THIS?! WHAT SHOULD IT DO?? CAUSE THIS IS MY FUNCTIONNALITY :/

    // input nothing
    // returns success, nil
    PO_GEN_EDITOR_INSERT = 9000;  // displays editor frame
    // input TPedestrianData
    // returns success, nil
    PO_GEN_EDITOR_EDIT = 9001;   // displays editor frame with input data
    // input nothing
    // result success, nil
    PO_GEN_EDITOR_GET = 9002;


    {EDITOR GENERATOR MANAGER BY MISO}

    //input nothing
    //result TItem(success,generatorData);
    PO_GET_GENERATOR = 10000;

    { PEDETRIAN EDITOR MANAGER}

    // input nothing
    // returns success, nil
    PO_RUNPROP_EDITOR_INSERT = 11000;  // displays editor frame
    // input TString
    // returns success, nil
    PO_RUNPROP_EDITOR_EDIT = 11001;   // displays editor frame with input data
    // input nothing
    // result success, nil
    PO_RUNPROP_EDITOR_GET = 11002;

    { RUN PROPERTIES MANAGER }

    //input TRunProperties
    //returns nil
    PO_RUNPROPMAN_INSERT = 12001;
    //input Run Properties name - String
    //returns nil
    PO_RUNPROPMAN_REMOVE = 12002;
    //input TPedestrian
    //returns nil
    PO_RUNPROPMAN_EDIT = 12003;
    //input IXMLNode
    //returns nil
    PO_RUNPROPMAN_SAVE = 12004;
    //input IXMLNode
    //returns nil
    PO_RUNPROPMAN_LOAD = 12005;
    //input string
    //returns run properties
    PO_RUNPROPMAN_GET_RUN_PROPERTIES = 12006;
    // input none
    // returns Tprocessingstrings
    PO_RUNPROPMAN_GET_NAMES = 12007;
    //input TString
    //returns true/false
    PO_RUNPROPMAN_EXISTS = 12008;

    {EDITOR LOGICAL ENTITY MANAGER}
    //input TProcessingLogicalEntity
    //returns nil
    PO_EDLEMAN_EDIT = 130001;
    //input nothing
    //returns nil
    PO_EDLEMAN_SHOW = 130002;
    //input nothing
    //returns nil
    PO_EDLEMAN_HIDE = 130003;

        {STATISTICS MANAGER}

    // input : tinteger - rep. count
    // input : tstring - statistic path
    // input : Tprocessingboollist - stat.flags
    // input : TproceesingForm - Tform
    PO_EDITOR_STAT_SET_PARAMS = 14000;

    // input : none
    // returns nil
    PO_EDITOR_STAT_SHOW = 14001;
    // input : Tinteger - statistic type - from oStatisticEventConstants
    // input : Tinteger - statistic group - from oEntityTypeConstants
    // input : Tinteger - replication
    // input : Tinteger - object id
    PO_EDITOR_STAT_SHOW_STATISTIC = 14002;
    // INPUT : Tstring - filename
    // returns nil
    PO_EDITOR_STAT_SAVE = 14003;
    // INPUT : Tstring - filename
    // returns nil
    PO_EDITOR_STAT_LOAD = 14004;
    // INPUT NONE
    // RETURNS NIL
    PO_EDITOR_STAT_COMPUTE = 14005;
    // input TTreeNode
    // returns nil
    PO_EDITOR_STAT_TREE_CLICK = 14006;
    // input Tinteger itemindex
    // returns nil
    PO_EDITOR_STAT_SET_REPLICATION = 14007;
    // input nil
    // returns nil
    PO_EDITOR_STAT_SINGLE_SAVE = 14008;
    // input Tinteger - rep type from oStatisticRepresentationTypes
    // returns nil
    PO_EDITOR_STAT_REPR_TYPE = 14009;

    // SIM RENDERER
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_SHOW = 15000;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_START = 15001;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_PAUSE = 15002;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_STOP = 15003;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_CLOSE = 15004;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_INC_TIME = 15005;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_DEC_TIME = 15006;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_INC_PERIOD = 15007;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_DEC_PERIOD = 15008;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_ENABLE_OUTPUT = 15009;
    // input nil
    // RETURNS NIL
    PO_SIM_RENDERER_DISABLE_OUTPUT = 15010;

implementation


end.

